Variants of the Local Master Key in the HSM are used for encryption of defined keys or key components. These variants are calculated as follows:
1. Select the appropriate LMK pair, for example:
0123 4567 89AB CDEF 3131 3131 3131 3131.
2. Identify which Variant of the LMK is required and select the appropriate offset value:
Variant 2: 5A.
3. Exclusive-OR add the selected offset to the first byte of the LMK pair (01 in the example above).
4. Replace the left-most byte of the LMK pair with the result of Step 3 and use the resulting key as the specified Variant:
Variant 2 = 5B23 4567 89AB CDEF 3131 3131 3131 3131.
The variants are:
Variant 1 : A6
Variant 2 : 5A
Variant 3 : 6A
Variant 4 : DE
Variant 5 : 2B
Variant 6 : 50
Variant 7 : 74
Variant 8 : 9C
Variant 9 : FA
When the Variants are applied to the standard test LMK set, the left-most bytes of the sets are as follows:
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||